package ooday01homework;

public class WaterFlowerNum {
    public static void main(String[] args) {
        for (int i = 100; i < 1000; ++i) {
            if(i==(i/100)*(i/100)*(i/100)+(i/10%10)*(i/10%10)*(i/10%10)+(i%10)*(i%10)*(i%10)){
                System.out.print(i+"\t");
            }
        }
    }
}
